package com.itheima.vo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
public class OrderVo {
    private String id;
    private String number;
    private Integer status;
    private String userId;
    private String addressBookId;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime orderTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime checkoutTime;
    private Integer payMethod;
    private Integer amount;
    private String remark;
    private String userName;
    private String phone;
    private String address;
    private String consignee;

}
